package cn.mehoyo.certificateGeneration.entity;


import lombok.Getter;
import lombok.Setter;

/**
 * DNS 验证信息
 * @author llh
 */
@Setter
@Getter
public class DnsChallengeInfo {
    /**
     * DNS TXT 记录名，例如 "_acme-challenge.example.com"
     */
    private String recordName;

    /**
     * DNS TXT 记录值（即 digest，需要用户配置到 DNS 里）
     */
    private String recordValue;

    private String domain;


    public DnsChallengeInfo() {}

    public DnsChallengeInfo(String recordName, String recordValue,String domain) {
        this.recordName = recordName;
        this.recordValue = recordValue;
        this.domain = domain;
    }

}
